package com.example.springcachedemo.controller;

import com.example.springcachedemo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lzh
 * @date 2020/2/27 - 9:29
 */
@RestController
public class TestController {

    @Autowired
    UserService userService;

    @GetMapping("/test")
    public String  test(){
        return "123";
    }



}
